﻿using System;
namespace WebSocket
{
	public class Program
	{
		static void Main(string[] args)
		{

			WebSocket chatWebsocket = new WebSocket();
			chatWebsocket.Start();
			Console.WriteLine("Press 'q' To Exit");

			while ('q' == Console.ReadKey().KeyChar)
			{
				chatWebsocket.Stop();
			}
		}
	}
}
